title: Is it possible to exclude paths in Openapi code generation?
body: <p>We are using a large third party API with many optional features. There are 27 endpoints and we need only a few of these from Maven. We are using server side generation.</p>
  
  <p>If you are interested the API is here: <a href="https://github.com/mjeffrey/psd2" rel="nofollow noreferrer">https://github.com/mjeffrey/psd2</a>
  Ideally we would only generate and expose the ones we support.</p>
  
  <p>Is it possible to just generate a list of API endpoints or exclude ones we don't want to support? </p>
  
  <p>I see there is the possibility to generate only certain models but that is not what we need. the -D apis parameter seems tor be treated as a boolean in the source code.</p>
  
  <p><a href="https://github.com/OpenAPITools/openapi-generator#3---usage" rel="nofollow noreferrer">https://github.com/OpenAPITools/openapi-generator#3---usage</a>
  <a href="https://github.com/OpenAPITools/openapi-generator/blob/master/docs/customization.md#selective-generation" rel="nofollow noreferrer">https://github.com/OpenAPITools/openapi-generator/blob/master/docs/customization.md#selective-generation</a></p>
  
  <p>I'm also considering a pre-processor so we don't need to manually edit the yaml file (which is updated regularly). Any suggestions for preprocessing the yaml file?</p>