Validating package spec

18 Jan

Validation of Swagger specifications # swagger_spec_validator[! [Build Status](https://travis-ci.org/Yelp/swagger_spec_validator.svg? branch=master)](https://travis-ci.org/Yelp/swagger_spec_validator) [! [Coverage Status](https://coveralls.io/repos/Yelp/swagger_spec_validator/badge.svg)](https://coveralls.io/r/Yelp/swagger_spec_validator)[! [Latest Version](https://img.shields.io/pypi/v/swagger_spec_validator.svg)](https://pypi.python.org/pypi/swagger_spec_validator/)## About Swagger Spec Validator is a Python library that validates Swagger Specs against the [Swagger 1.2](https://github.com/swagger-api/swagger-spec/blob/master/versions/1.2.md) or [Swagger 2.0](https://github.com/swagger-api/swagger-spec/blob/master/versions/2.0.md) specification.The validator aims to check for full compliance with the Specification.## Example Usage Validate a spec from a url:```pythonfrom swagger_spec_validator import validate_spec_url# example for swagger spec v1.2validate_spec_url(' example for swagger spec v2.0validate_spec_url(' Documentation More documentation is available at Installation $ pip install swagger_spec_validator## Contributing1. Create your feature branch (`git checkout -b my-new-feature`)3.Create new Pull Request## License Copyright (c) 2015, Yelp, Inc. Validate an Open API/Swagger API specification against the Open API Specification using the online validator.Answer: The DBA will have to recompile a PL/SQL packages whenever there are changes to tables, views, sequences, and so on that the package procedures and functions reference.

Therefore, it requires Internet access to use and requires significantly less code to be installed as a result.

You might want to recompile a package body after modifying it.

Recompiling a package body does not invalidate objects that depend upon the package specification.

Because all objects in a package are stored as a unit, the keyword is required.

During recompilation, Oracle Database drops all persistent compiler switch settings, retrieves them again from the session, and stores them at the end of compilation. If recompiling the package results in compilation errors, then Oracle Database returns an error and the body remains invalid.